/**
 * Sider Navigator Module
 */
define(['jquery'], function($) {
	var SlidePanel = {};
	SlidePanel = (function () {
		function SlidePanel () {
			this.panelSlideToggle();
		}
		SlidePanel.prototype.panelSlideToggle = function () {
			var $panelUpIcon = $('.panel > .panel-heading ul > li .fa-chevron-up');
			$panelUpIcon.on('click', function (event) {
				var $me = $(this),
					$panelBody = $me.parents('.panel-heading').siblings('.panel-body');
				event.preventDefault();
				$me.toggleClass('fa-chevron-down');
				$panelBody.slideToggle('fast');
			});
		};

		return SlidePanel;
	})();

	return new SlidePanel();
});